
<div id="icon-options-general" class="icon32"><br></div>
<h2>Réglages des médias</h2>

<form action="<?echo $CFG->config['base_url']?>setting/medias/create" method="post">

<h3>Taille des images</h3>
<p>Les tailles précisées ci-dessous déterminent les dimensions maximales (en pixels) à utiliser lors de l’insertion d’une image dans le corps d’un article.</p>

<table class="form-table">
<tbody><tr valign="top">
<th scope="row">Taille des miniatures</th>
<td>
<label for="thumbnail_size_w">Largeur</label>
<input name="medias[thumbnail_size_w]" step="1" min="0" id="thumbnail_size_w" value="<?php echo $medias['thumbnail_size_w']?>" class="small-text" type="number">
<label for="thumbnail_size_h">Hauteur</label>
<input name="medias[thumbnail_size_h]" step="1" min="0" id="thumbnail_size_h" value="<?php echo $medias['thumbnail_size_h']?>" class="small-text" type="number"><br>
</td>
</tr>

<tr valign="top">
<th scope="row">Grande taille</th>
<td><fieldset><legend class="screen-reader-text"><span>Grande taille</span></legend>
<label for="large_size_w">Largeur maximale</label>
<input name="medias[large_size_w]" step="1" min="0" id="large_size_w" value="<?php echo $medias['large_size_w']?>" class="small-text" type="number">
<label for="large_size_h">Hauteur maximale</label>
<input name="medias[large_size_h]" step="1" min="0" id="large_size_h" value="<?php echo $medias['large_size_h']?>" class="small-text" type="number">
</fieldset></td>
</tr>

<tr valign="top">
<th scope="row">Limitations</th>
<td><fieldset><legend class="screen-reader-text"><span>Limitations</span></legend>
<label for="max_size">Taille maximale de fichier</label>
<input name="medias[max_size]" step="1" min="0" id="max_size" value="<?php echo $medias['max_size']?>" class="small-text" type="number">
<label for="allowed_types">Extention de fichier (sépare par |)</label>
<input name="medias[allowed_types]"  id="allowed_types" value="<?php echo $medias['allowed_types']?>" class="small-text" type="text">
</fieldset></td>
</tr>
</tbody>
</table>




<p class="submit">
<input name="medias_submit" id="submit" class="button button-primary" value="Enregistrer les modifications" type="submit"></p>
</form>

